package doudizhu;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public class Pokers {

    private List<Poker> list = new ArrayList<>();

    public Pokers(){

        String[] brandColor = {"黑桃", "红桃", "梅花", "方片"};
        String[] brand = {"2", "3", "4", "5", "6", "7", "8", "9", "10", "J","Q","K", "A"};
        for(int i=0;i<brandColor.length;i++)
            for(int j=0;j<brand.length;j++){
                list.add(new Poker(brand[j],brandColor[i]));
            }

        Poker bigPoker = Poker.getBigPoker();
        Poker smallPoker = Poker.getSmallPoker();
        list.add(bigPoker);
        list.add(smallPoker);
    }

    public List<Poker> getList() {
        return list;
    }



}
